package common.server.respcode;

/**
 * 返回码服务
 * @author Administrator
 * @version [版本号, 2018/1/5 0005]
 * @see [相关类/方法]
 * @since [产品/模块版本]
 */
public interface RespCodeService {
    /**
     * 成功
     */
    RespCode SUCCESS = new RespCode("000000","success","成功返回码");

    /**
     * 异常
     */
    RespCode COMM_ERROR = new RespCode("000001","系统繁忙，请稍后再试！","异常返回码");

    /**
     * 网络异常
     */
    RespCode COMM_NET_ERROR = new RespCode("000002","当前网络不可用，请检查网络设置！","网络异常");

    /**
     * 校验失败
     */
    RespCode COMM_VAT_ERROR = new RespCode("000003","系统繁忙，请稍后再试！","校验失败");

    /**
     * FALLBACK
     */
    RespCode COMM_FALLBACK = new RespCode("000004","系统繁忙，请稍后再试！","熔断器熔断返回码");

    /**
     * 正常失败
     */
    RespCode COMM_FAIL = new RespCode("000005","系统繁忙，请稍后再试！","失败返回码");
    /**
     * 安全校验失败
     */
    RespCode COMM_SECUR_ERROR = new RespCode("000006","系统繁忙，请稍后再试！","安全校验失败");


    /**
     *
     */
    RespCode T_COMM_NULL_ERROR = new RespCode("000010","系统繁忙，请稍后再试！","入参是null");

    RespCode T_COMM_TEL_ERROR = new RespCode("000011","系统繁忙，请稍后再试！","获取的Tel格式不正确");

    RespCode T_COMM_ANALYTIC_PARAMETER_ERROR = new RespCode("000012","系统繁忙，请稍后再试！","获取的Tel解密异常或响应参数解析异常");

    RespCode T_COMM_EXCEPTION_ERROR = new RespCode("000013","系统繁忙，请稍后再试！","统一认证响应异常");
}
